Panner
Section: ET++ class description (n)
Updated: automatically Fri Mar 15 14:12:40 1991
Index
Return to Main Contents
NAME
Panner.short - controls scrolling of a Clipper
DESCRIPTION
The Panner is similar to a scrollbar. However, the Panner allows to scroll the View inside a Clipper in any direction and as well gives an overview of the View's size in relation to the Clipper's size. Because a Panner is usually rather small, the whole View can be scrolled with little mouse movements.
Example:
Window *MyDocument::DoMakeWindows()
{
View *view = new MyView(/* ... */);
Scroller *scroller = new Scroller(view);
Panner *panner = new Panner(scroller->GetClipper(), Point(40));
return new Window(this, Point(400), eWinDefault,
new Expander(cIdNone, eVert, gPoint4,
scroller,
panner,
NULL
)
);
}
classes are never derived from Panner.
class Panner
is sometimes reused directly.
class Panner contains 5 methods.
- owner of class:
-
nobody.
- baseclasses:
-
Slider
- flags:
-
CompositeVObjectFlags
INSTANCE VARIABLES
- cl (private Clipper *)
-
the Clipper that is controlled by the Panner. It must not be NULL.
INSTANCE METHOD LIST
- client interface
-
Panner
- implementation
-
Control
DoObserve
GetMinSize
~Panner
CATEGORIES
Simple Dialog Items
FILES
- declaration:
-
Panner.h
KNOWN PROBLEMS
The MetaDef and MetaImpl statements are missing.
HISTORY
joe@csesbg.at Thu Sep 12 11:23 1991 MET DST
Index
- NAME
-
- DESCRIPTION
-
- INSTANCE VARIABLES
-
- INSTANCE METHOD LIST
-
- CATEGORIES
-
- FILES
-
- KNOWN PROBLEMS
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:24 GMT, March 30, 2022